﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DapperExtensions.Mapper;
using Newtonsoft.Json;

namespace ZL.CRM.CommonEntity.AccOpr
{
    public class JfHouzhYwCore:YwCoreCommon
    {

        /// <summary>
        ///  是否为积分存疑操作：1-是
        /// </summary>
        public short Oprcysign { get; set; }


        /// <summary>
        ///  充积分
        /// </summary>
        public int Oprczjf { get; set; }


        /// <summary>
        ///  积分方式：1-即积即兑 2-人工转兑换（从redis缓存中读取）
        /// </summary>
        public short Oprjfway { get; set; }

    }
    public class JfHouzhYwCoreMapper : ClassMapper<JfHouzhYwCore>
    {
        public JfHouzhYwCoreMapper()
        {
            Table("#YwCore");
            Map(f => f.Oprcardno).Column("Oprcardno");
            Map(f => f.Oprctype).Column("Oprctype");
            Map(f => f.Oprcysign).Column("Oprcysign");
            Map(f => f.Oprtime).Column("Oprtime");
            Map(f => f.Oprbrid).Column("Oprbrid");
            Map(f => f.Oprbrname).Column("Oprbrname");
            Map(f => f.Oprczjf).Column("Oprczjf");
            Map(f => f.Oprsno).Column("Oprsno");
            Map(f => f.Oprjfway).Column("Oprjfway");

        }

    }
}
